
<div class="widget">
<div class="formRow">
    <?php
    echo $this->Form->create('Cliente', array('action' => 'ajaxlistado'));
   ?>
   <table>
   <tr>
   <td>
   <label>Cliente:<span class="req">*</span></label>
   </td>
   <td>
   <?php echo $this->Form->text('nombre', array('class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate')); ?> 
   </td>
   <td>
   <?php
        echo $this->Js->submit('Buscar', array('url' => array('controller' => 'Ventasproductos','action' => 'ajaxlistado',$idventa), 
        'before' => 'ajaxIngreso();',
        'update' => '#listaventas',
        'class' => 'buttonS bGreen'));
        echo $this->Form->end();
        ?>
   </td>
   </tr>
   </table>
   
   
        
    </div>
</div>
<?php echo $this->Js->writeBuffer(); ?>
